package cn.itsource.service;

import cn.itsource.bean.Department;
import cn.itsource.query.DepartmentQuery;
import cn.itsource.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author : 张金铭
 * @description :
 * @create :2022-11-07 11:56:00
 */

public interface IDepartmentService extends IService<Department> {

    JsonResult getPage(DepartmentQuery query);

    JsonResult updateState(Department department);

    boolean getId(Department department);

    JsonResult getFirst();

    boolean removerTree(Long id);

    void getSonId(Long id,List<Long> arrayList);

    void updateAllDir(Department department);

    void updateUtil(String dirPath,List<Long> arrayList);

}
